#ifndef GAMEWIDGET_H
#define GAMEWIDGET_H

#include <QWidget>
#include "boardwidget.h"
#include "roundwidget.h"

class GameWidget : public QWidget
{
    Q_OBJECT

public:
    GameWidget(QWidget *parent = nullptr);
    ~GameWidget();

private:
    BoardWidget* board;
    RoundWidget* round_widget;

private slots:
    void restart_game();

public slots:
    void showWinner(int winner);
    void slotTimeOut(int);

signals:
    void signalTimeOut();
    void signalNewGame();


};

#endif // GAMEWIDGET_H
